import Vue from 'vue'
import App from './App'

import './common/ajax/ajax.js'   // 挂在ajax
import './static/iconcss/iconfont-weapp-icon.css'   // 挂在iconcss

import store from './store' //vuex
import * as util from '@/common/oyyl-js/util.js' // 登录工具类

import scientific from './pages/index/scientific/index.vue'
Vue.component('scientific',scientific)
import product from './pages/index/product/index.vue'
Vue.component('product',product)
import clinical from './pages/index/clinical/index.vue'
Vue.component('clinical',clinical)
import therepair from './pages/index/therepair/index.vue'
Vue.component('therepair',therepair)

//小程序头部导航栏全局注册
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)
//富文本全局注册
import richHtml from './components/richHtml/index.vue'
Vue.component('rich-html',richHtml)

Vue.prototype.$util = util
Vue.prototype.$store = store

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

 



